home *** CD-ROM | disk | FTP | other *** search
- .bra {
- .ket }
- echo "*N*N*N SRT (Set Requester Text) - Preliminary version - v1.31"
- echo " Copyright 1988 Commodore-Amiga, Inc. All Rights Reserved"
- echo "*N The SRT program and srt.text file are in this directory."
- echo "This script will demonstrate the use of SRT."
- WAIT 4
- echo "*N SRT lets you replace standard requester text with replacement"
- echo "strings from a plain ASCII file (default s:srt.text)."
- WAIT 4
- echo "*N Installing SRT... Executing: SRT srt.text"
- SRT srt.text
- if warn
- echo "Installation failed. Please see README or type SRT ?"
- else
- echo "*N*N Now we'll cause a requester for a non-existent volume"
- echo "to demonstrate standard text replaced with srt.text..."
- echo "*NWhen requester appears, click 'Give Up' to continue..."
- WAIT 5
- echo "*NExecuting: dir SomeVolume:"
- DIR >NIL: SomeVolume:
- echo "*N*N But wait... There's more."
- echo "*N If the replacement text for 'Software Error - task held'"
- echo "is 'DEBUG' (as it is in srt.text), then SRT will replace"
- echo "Software Error requesters with a full width debugging display"
- echo "including registers, PC, SP, and name of the task or command"
- echo "that crashed, with a SUSPEND gadget option for removing the"
- echo "requester and suspending the task."
- WAIT 12
- echo "*N Several tiny crash-producing programs are supplied with SRT"
- echo "to demonstrate SRT's debugging display. The programs each"
- echo "cause a different 68000 exception (crash3, crash4, crash8, etc)"
- echo "by performing non-destructive instructions such as division by 0"
- echo "or illegal access of an odd address."
- WAIT 10
- echo "*N If you would like to see a demonstration of the DEBUG display"
- echo "just answer Y (yes) to the next question. *N"
- WAIT 3
- ASK "Would you like this demo to run the crash5 (division by 0) program ? "
- if warn
- WAIT 2
- echo "*N Executing: RUN >NIL: crash5*N"
- WAIT 1
- RUN >NIL: crash5
- WAIT 2
- echo "*N*N SRT intercepts the Software Error and provides enough information"
- echo "for local debugging and disassembly. Note that the SUSPEND gadget"
- echo "contains the name of the crashed program. *N"
- ask "Click SUSPEND, then hit <RET> here when ready to continue: "
- endif
- echo "*N SRT can even be used to debug AFTER a Software Error requester"
- echo "is up. If you can bring up a new CLI or Shell, you can install"
- echo "SRT, and then click RETRY on an existing Software Error requester"
- echo "and SRT will replace it with the DEBUG requester."
- WAIT 10
- echo "*N If SRT is not in use, it can be un-installed with the command"
- echo "SRT RESET."
- echo "*N The SRT Demo will now uninstall SRT. Executing: SRT RESET"
- SRT RESET
- WAIT 5
- echo "*N === End of SRT Demo ==="
- endif
-
-
-
-
-
-